package com.scott.user.service;

import com.scott.user.bean.UserBean;
import com.scott.user.dao.UserDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserService {

    @Resource
    private UserDao dao;

    public List<UserBean> findAll(){
        //调用dao
        return dao.findAll();
    }
}
